#pragma once
#include "item.h"
#include "weapon.h"

class CSword : public CWeapon
{
	Vec3 lastTargetPosition;
	Quat lastTargetRotation;
	Vec3 collisionNorm;

public:
	CSword();
	virtual ~CSword();

	void PickUp(EntityId pickerId, bool sound, bool select/* =true */, bool keepHistory/* =true */, const char *setup = NULL);
	void Select(bool select);
	void Update( SEntityUpdateContext& ctx, int slot );
	void ProcessEvent( SEntityEvent& evt );
	void UpdatePosition (float dt);
};

